<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="p" uri="/WEB-INF/tld/page.tld" %>
<table class="table table-striped table-bordered bootstrap-datatable responsive">
    <thead>
    <tr>
    	<th></th>
        <th>旅游度假产品名称</th>
        <th>涉及景区</th>
        <th>进价</th>
        <th>市场价</th>
        <th>库存数量</th>
        <th>有效时间</th>
        <th>有效状态</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${lines }" var="line">
    <tr>
    	<td><input type="checkbox" name="line_id" value="${line.line_info_id }"></td>
        <td>${line.name }</td>
        <td class="center">${line.scene_name }</td>
        <td class="center">${line.buyin_price }</td>
        <td class="center">${line.list_price }</td>
        <td class="center">${line.inventory }</td>
        <td class="center">${line.from_time }-${line.end_time }</td>
        <td class="center">${line.isOK_display }</td>
        <td class="center">
        	<a href="javascript:;" class="btn btn-default" onclick='jumpRelation("${line.line_info_id}");'>设置关联产品</a>
        </td>
    </tr>
    </c:forEach>
    </tbody>
</table>
<%-- <p:page map="${page }"/> --%>